#ifndef _stringtools_h_
#define _stringtools_h_

// stringtools.h
//
// String tools

#include <string>

namespace simple{
    //
    // StringTools
    //
    struct Token
    {
        std::string parsed;
        std::string remainder;
    };



    class StringTools
    {
    public:
        static Token sParse (const std::string& str, const std::string& term = sStandardTerm);
        // Parse the next token from the specified string, with terminator characters
        // defined in term.

        static std::string sStandardTerm;
        // Standard terminators (space, tab, newline)
    };

}
#endif // _stringtools_h_
